<?php
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use yii\widgets\LinkPager;
use frontend\controllers\ListController;
use common\models\articles\Articles;
use common\models\member\Member;
use common\models\category\Category;
use common\models\Fenhuigrade\Fenhuigrade;

?>
    <!--位置-->
    <div class="clearFloat bag-fff">
        <div class="sewz m-l-35 m-r-35">

            <a href="<?= yii\helpers\Url::to(['/']);?>">HOME</a>-<a href="<?= yii\helpers\Url::to(['hyfabu/list','z_nav'=>0]); ?>">会员发布</a>
        </div>
    </div>
    <!--位置-->
    <!--列表-->
    <div class="selist bag-fff">
        <div class="m-l-35 m-r-35">
            <h3 class="nyh3">
                <?=$article['title'];?>
                <span><?= date('Y-m-d H:i',$article['updated_at']);?></span>
            </h3>
            <div class="clearFloat nywzp">
                <img src="images/luimg.jpg" alt="" width="100%"><br><br>
                <p>
                    <?= $article['content'];?>
                </p>


                <br><br>
            </div>
        </div>
    </div>
    <!--相关新闻-->
    <div class="clearFloat bag-fff m-t-27 m-b-27">
        <div class="m-l-35 m-r-35 p-t-30">
            <h3 class="xgxwh3"><span>相关新闻</span></h3>
            <div class="clearFloat p-t-30 p-b-40">
            <?php
                 foreach($articles as $k=>$t){
                ?>
                <div class="selista">
                    <a href="<?= yii\helpers\Url::to(['hyfabu/index', 'id' => $t['id'],'z_nav'=>0]); ?>">
                        <div class="selistb">
                            <?=$t['title'];?>
                        </div>
                    </a>
                </div>
            <?php 

            }
             ?>
            </div>
        </div>
    </div>
    <!--相关新闻-->
    <!--列表-->
    <!--搜索-->

